package cn.icanci.loopstack.bic.dal.mongo.daointerface;

import cn.icanci.loopstack.bic.dal.mongo.dateobject.UnitViewSnapshotDO;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/20 22:05
 */
public interface UnitViewSnapshotDAO extends BaseDAO<UnitViewSnapshotDO> {
    /** 文档对应的名字  */
    String                    COLLECTION_NAME  = BASE_COLLECTION_NAME + "unit-view-snapshot";
    /** 文档对应的Class */
    Class<UnitViewSnapshotDO> COLLECTION_CLASS = UnitViewSnapshotDO.class;

    UnitViewSnapshotDO queryBySystemUuidAndUseCaseUuid(String systemUuid, String useCaseUuid);

    UnitViewSnapshotDO queryBySystemUuidAndUseCaseUuidAndVersion(String systemUuid, String useCaseUuid, long version);

    /** 列 */
    interface UnitViewSnapshotColumn extends BaseColumn {
        String SYSTEM_UUID   = "systemUuid";
        String USE_CASE_UUID = "useCaseUuid";
        String NAME          = "name";
        String VERSION       = "version";
    }

}
